package searcher;

import java.util.List;
import utils.ObjectCache;
import domain.Document;

public final class SearchCache extends ObjectCache<String, List<Document>> {
	private static SearchCache instance;

	private SearchCache() {
		setCacheName("search_cache_time");
		initObjectCache();
	}

	public static SearchCache getInstance() {
		if (instance == null) {
			instance = new SearchCache();
		}
		return instance;
	}
}
